[index]

Exit to Top Control Statement

Syntax: exit to top

Description

The exit to top command causes an immediate exit from all handlers that may be executing and returns control to Oracle Media Objects.

Examples

Create a button and add the following handler to its script: on mouseUp aaa bbb end mouseUp on aaa put 2 into msg exit to top end aaa on bbb put 3 into msg end bbb Switch to Browse mode and click on the button. The number 2 appears in the Message Box because the bbb subroutine is not executing.
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.